import request from "@/utils/request";

/**
 * 属性分组、规格参数关联
 */
export default {

  getAttrInfoByAttrGroupId(attrGroupId) {
    return request({
      url: '/gmmallproduct/attrattrgrouprelation/attrInfo/' + attrGroupId,
      method: 'get'
    })
  },

  //添加关联关系
  addAttrAttrGroupRela(params) {
    return request({
      url: '/gmmallproduct/attrattrgrouprelation/addRela/',
      method: 'get',
      params
    })
  }

}
